package cn;

import java.sql.SQLOutput;
import java.util.Scanner;

public class Amount {
    public static void main(String[] args) {
        Scanner input= new Scanner(System.in);
        double d=input.nextDouble();
        System.out.println("本金为"+d);
        double a=input.nextDouble();
        System.out.println("利率为"+a);
        double c=input.nextDouble();
        System.out.println("所存年数"+c);
        double k=Math.pow(1+a/100,c*12);
        double e=k*d;
        System.out.println("所取金额为"+e);
        input.close();
    }

}
